package com.tool.cn.use.async;

import com.tool.cn.use.async.core.TaskThread;

/**
 * 
 * @author wangzonghui
 * @date 2022-08-31 04:38:54
 * @Description 异步回调任务测试
 */
public class MainDemo {
	
	public static void main(String[] args) {
		InterfaceModel interfaceModel = new InterfaceModel("第一个");
		TaskThread taskThread = new TaskThread(interfaceModel);
		taskThread.start();
		
		taskThread = new TaskThread(new InterfaceModel("23423"),500);
		taskThread.start();
		System.out.println("主线程结束");
	}

}
